<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>

</head>
<body>
	<div class="modal fade" id="myModal" tabindex="-1" role="dialog"
			aria-labelledby="myModalLabel">
			<div class="modal-dialog" role="document">
				<div class="modal-content">
					<!-- 标题部分 -->
					<div class="modal-header">
						<button type="button" class="close" data-dismiss="modal"
							aria-label="Close">
							<span aria-hidden="true">&times;</span>
						</button>
						<h4 class="modal-title" id="myModalLabel">创建活动</h4>
					</div>
					<!-- Body部分 -->
					<div class="modal-body">
						<form class="form-horizontal" th:action="@{/activity/doUpdateObject}" method="post">
							<div class="form-group">
								<label for="titleId" class="col-sm-2 control-label">标题</label>
								<div class="col-sm-10">
									<input type="text" class="form-control"  name="title" id="titleId"
										placeholder="title">
								</div>
							</div>
							<div class="form-group">
								<label for="categoryId" class="col-sm-2 control-label">类型</label>
								<div class="col-sm-10">
							   	   <select id="categoryId" name="category" class="form-control">
							   	       <option value="教育培训">教育培训</option>
							   	       <option value="企业活动">企业活动</option>
							   	       <option value="交友活动">交友活动</option>
							   	   </select>
								</div>
							</div>
							<div class="form-group">
								<label for="startTimeId" class="col-sm-2 control-label">开始时间</label>
								<div class="col-sm-10">
									<input type="text" class="form-control"  name="startTime" id="startTimeId"
										placeholder="start time">
								</div>
							</div>
							<div class="form-group">
								<label for="endTimeId" class="col-sm-2 control-label">结束时间</label>
								<div class="col-sm-10">
									<input type="text" class="form-control"  name="endTime" id="endTimeId"
										placeholder="end time">
								</div>
							</div>
							<div class="form-group">
								<label for="remarkId" class="col-sm-2 control-label">备注</label>
								<div class="col-sm-10">
									<textarea type="text" class="form-control"  rows="5" name="remark" id="remarkId">
								    </textarea>
								</div>
							</div>
					</form>
					<!-- 按钮部分 -->
					<div class="modal-footer">
						<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
						<button type="button" class="btn btn-primary" onclick="doUpdateObject()">Save Changes</button>
					</div>
				</div>
			</div>
     </div>
     
     
    
    
	<!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->
	<script src="/jquery/jquery.min.js"></script>
	<!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
	<script src="/bootstrapdist/js/bootstrap.min.js"></script>
</body>
</html>